/*
 * Created by JFormDesigner on Wed Jan 08 17:23:38 CST 2025
 */

package src.loginJframe;

import java.awt.*;
import javax.swing.*;

/**
 * @author 19624
 */
public class LoginJfranm extends JFrame {
    public LoginJfranm() {
        initComponents();
        setSize(745, 460);  // 设置窗口大小
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents  @formatter:off
        label1 = new JLabel();
        textField1 = new JTextField();
        passwordField1 = new JPasswordField();
        button1 = new JButton();

        //======== this ========
        var contentPane = getContentPane();
        contentPane.setLayout(null);

        //---- label1 ----
        label1.setText("\u6b22\u8fce\u767b\u9646");
        label1.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 20));
        contentPane.add(label1);
        label1.setBounds(450, 70, 85, 50);
        contentPane.add(textField1);
        textField1.setBounds(370, 160, 240, 40);
        contentPane.add(passwordField1);
        passwordField1.setBounds(370, 230, 240, 38);

        //---- button1 ----
        button1.setText("\u767b\u5f55");
        button1.setFont(new Font("Microsoft YaHei UI", Font.PLAIN, 18));
        contentPane.add(button1);
        button1.setBounds(375, 310, 240, 33);

        contentPane.setPreferredSize(new Dimension(745, 460));
        pack();
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents  @formatter:on
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables  @formatter:off
    private JLabel label1;
    private JTextField textField1;
    private JPasswordField passwordField1;
    private JButton button1;
    // JFormDesigner - End of variables declaration  //GEN-END:variables  @formatter:on
}
